﻿namespace HouseKeeperCore.Elemental
{
    /// <summary>
    ///  An interface that represents an activated working relationship between 
    ///  a consumer and a provider or a using activity
    /// </summary>
    public interface IUsage
    {
        #region Properties
        
        /// <summary>
        ///  The type of which the usage is an instance
        /// </summary>
        IUsageType UsageType { get; set; }
        
        /// <summary>
        ///  The consumer end of the using activity
        /// </summary>
        IConsumer Consumer { get; set; }
        
        /// <summary>
        ///  The provider end of the using activity
        /// </summary>
        IProvider Provider { get; set; }

        #endregion
    }
}
